package com.bw.service.impl;

import com.bw.domain.SysDictData;
import com.bw.domain.SysDictType;
import com.bw.mapper.SysDictDataMapper;
import com.bw.service.SysDictDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysDictDataServiceImpl implements SysDictDataService {

    @Autowired
    SysDictDataMapper sysDictDataMapper;

    @Override
    public List<SysDictType> list() {
        return sysDictDataMapper.list();
    }

    @Override
    public List<SysDictType> getlist(SysDictData sysDictData) {
        return sysDictDataMapper.getlist(sysDictData);
    }

    @Override
    public boolean add(SysDictData sysDictData) {
        return sysDictDataMapper.add(sysDictData);
    }

    @Override
    public boolean update(SysDictData sysDictData) {
        return sysDictDataMapper.update(sysDictData);
    }

    @Override
    public List<SysDictType> getlist2() {
        return sysDictDataMapper.getlist2();
    }

    @Override
    public List<SysDictData> list1() {
        return sysDictDataMapper.list1();
    }
}
